<form action="{:sysuri()}" autocomplete="off" class="layui-form layui-form-pane form-search" method="get"
      onsubmit="return false">
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">应用选择</label>
        <label class="layui-input-inline">
            <select class='layui-select' name="app_id" lay-search="">
                <option value=''>-- 全部 --</option>
                {foreach $apps as $s}
                {eq name='$s.app_id' value='$get.app_id|default=0'}
                <option selected value='{$s.app_id}'>{$s.app_name}</option>
                {else}
                <option value='{$s.app_id}'>{$s.app_name}</option>
                {/eq}{/foreach}
            </select>
        </label>
    </div>
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">所属代理</label>
        <label class="layui-input-inline">
            <select class='layui-select' name="uuid" lay-search="">
                <option value=''>-- 全部 --</option>
                {foreach $proxys as $s}
                {eq name='$s.id' value='$get.uuid|default=0'}
                <option selected value='{$s.id}'>[{$s.user_nickname}]{$s.user_account}</option>
                {else}
                <option value='{$s.id}'>[{$s.user_nickname}]{$s.user_account}</option>
                {/eq}{/foreach}
            </select>
        </label>
    </div>
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">积分类型</label>
        <label class="layui-input-inline">
            <select class='layui-select' name="integral_type">
                <option value=''>-- 全部 --</option>
                {foreach ['1'=>'收入','2'=>'支出'] as $k=>$s}
                {eq name='$k' value='$get.integral_type|default=0'}
                <option selected value='{$k}'>{$s}</option>
                {else}
                <option value='{$k}'>{$s}</option>
                {/eq}{/foreach}
            </select>
        </label>
    </div>
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">操作人</label>
        <label class="layui-input-inline">
            <select class='layui-select' name="create_uuid" lay-search="">
                <option value=''>-- 全部 --</option>
                {foreach $proxys as $s}
                {eq name='$s.id' value='$get.create_uuid|default=0'}
                <option selected value='{$s.id}'>[{$s.user_nickname}]{$s.user_account}</option>
                {else}
                <option value='{$s.id}'>[{$s.user_nickname}]{$s.user_account}</option>
                {/eq}{/foreach}
            </select>
        </label>
    </div>
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">创建时间</label>
        <label class="layui-input-inline">
            <input class="layui-input" data-date-range name="create_time" placeholder="请选择创建时间" value="{$get.create_time|default=''}">
        </label>
    </div>
    <div class="layui-form-item layui-inline">
        <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
    </div>
</form>